package com.danjinwulian.common.core.domain.entity;

import com.danjinwulian.common.annotation.Excel;
import com.danjinwulian.common.core.domain.BaseEntity;

/**
 * 产品对象 iot_product
 * 
 * @author ken.h
 */
public class IotProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品ID */
    @Excel(name = "产品ID")
    private String productId;

    /** 产品标识 */
    @Excel(name = "产品标识")
    private String productKey;

    /** 产品秘钥 */
    @Excel(name = "产品秘钥")
    private String productSecret;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品描述 */
    @Excel(name = "产品描述")
    private String productDesc;

    /** 产品类型 */
    @Excel(name = "产品类型", readConverterExp = "0=普通产品,5=网关产品")
    private Long productType;

    /** 产品分类 */
    @Excel(name = "产品分类", readConverterExp = "582=智慧生活-电工照明-冷暖白光灯,634=智慧生活-网关中控-智能网关,161=智慧生活-网关中控-普通网关")
    private Long categoryId;

    /** 加密类型 */
    @Excel(name = "加密类型")
    private String encryptionType;

    /** 连接类型 */
    @Excel(name = "连接类型")
    private String netType;

    /** 所属区域 */
    @Excel(name = "所属区域")
    private String region;

    /** 所属实例ID */
    @Excel(name = "所属实例ID")
    private String instanceId;

    /** 产品状态 */
    @Excel(name = "状态", readConverterExp = "all=全部,dev=开发中,audit=审核中,released=已发布")
    private String status;

    /** 设备数量 */
    private int deviceCount;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public IotProduct()
    {

    }

    public IotProduct(String productId)
    {
        this.productId = productId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductKey() {
        return productKey;
    }

    public void setProductKey(String productKey) {
        this.productKey = productKey;
    }

    public String getProductSecret() {
        return productSecret;
    }

    public void setProductSecret(String productSecret) {
        this.productSecret = productSecret;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getProductType() {
        return productType;
    }

    public void setProductType(Long productType) {
        this.productType = productType;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public String getEncryptionType() {
        return encryptionType;
    }

    public void setEncryptionType(String encryptionType) {
        this.encryptionType = encryptionType;
    }

    public String getNetType() {
        return netType;
    }

    public void setNetType(String netType) {
        this.netType = netType;
    }

    public int getDeviceCount() {
        return deviceCount;
    }

    public void setDeviceCount(int deviceCount) {
        this.deviceCount = deviceCount;
    }
}
